package com.persia.persistence

import slick.driver.MySQLDriver.simple._
import scala.slick.jdbc.meta.MTable

trait MysqlSupport {
   def db = Database.forDataSource(DbPool.ds)
   
   implicit val session: Session = db.createSession()
   
   def prepareData() = {
     if(MTable.getTables("tasks").list.isEmpty){
       
     }
   }
}